package org.xt.module.admin;

import java.util.List;

import org.nutz.dao.Dao;
import org.nutz.dao.pager.Pager;
import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.By;
import org.nutz.mvc.annotation.Filters;
import org.nutz.mvc.annotation.GET;
import org.nutz.mvc.annotation.Ok;
import org.nutz.mvc.annotation.POST;
import org.nutz.mvc.annotation.Param;
import org.nutz.mvc.filter.CheckSession;
import org.xt.constants.Const;
import org.xt.constants.Res;
import org.xt.entity.Department;
import org.xt.entity.Permission;
import org.xt.entity.User;

@IocBean
@At("/admin/permission")
public class PermissionAdminModule {
	@Inject
	private Dao dao;
	
//	@At("/add")
//	@GET
//	@Ok("jsp:admin.permission.add")
//	public List<Permission> add(){
//		return dao.query(Permission.class, null);
//	}
	
	@At("/list")
	@GET
	@Ok("jsp:admin.permission.list")
	public void list(){
		
	}
}
